Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Reproducer for memory leak #1547

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vshampor
Copy link
Contributor

Run the script in a venv configured for usual genai testing with pytest as python repro.py and observe RSS increase (as reported by stdout prints or in htop) with each iteration of a leak_fn function that instantiates the CB pipeline, does a couple of generate calls and finishes with a cleanup. Expected behaviour is no memory increase after each call of leak_fn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant